<template>
	<view class="page">
		<view class="body">
			<view class="body_img ">
				<image src="../../static/purse/dengdaixitongchuli.png" mode="" class="image"></image>
			</view>
			<view class="justify-content-center body_text">
				已发起{{type==1?'提现':'转账'}}，等待系统处理
			</view>
			<view class="justify-content-center body_text text_2">
				2024-04-01 18:20:22
			</view>
			<view class="btn btn_css" @click="toPath">
				完成
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				type: ''
			}
		},
		methods: {
			toPath() {
				uni.switchTab({
					url: '/pages/index/index'
				})
			}
		},
		onLoad(e) {
			this.type = e.type;
			if (e.type == 1) {
				uni.setNavigationBarTitle({
					title: '提现成功'
				})
			} else {
				uni.setNavigationBarTitle({
					title: '转账成功'
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.page {
		.body {

			.body_img {
				display: block;
				margin-left: auto;
				margin-right: auto;
				padding: 30rpx;
				width: 64px;
				height: 64px;

				.image {
					width: 100%;
					height: 100%;
				}
			}

			.body_text {
				line-height: 30px;
			}

			.text_2 {
				color: #b2b2b2;
			}

			.btn_css {
				margin-top: 100px;
			}
		}
	}
</style>